package cn.ccenjie.wsy.social.github.connet;

import cn.ccenjie.wsy.social.github.api.Github;
import org.springframework.social.connect.support.OAuth2ConnectionFactory;

public class GithubConnnectionFactory extends OAuth2ConnectionFactory<Github> {

    private static final String CLIENT_ID = "b7e664b223a9facdaf5f";

    private static final String CLIENT_KEY = "0846706df5cd5a88f2c0e8b1368ee8f926f3b733";

    public GithubConnnectionFactory() {
        super("github", new GithubServiceProvider(CLIENT_ID, CLIENT_KEY), new GithubAdapter());
    }
}
